package cn.miju.ser.alipay.service;

import cn.miju.ser.alipay.vo.*;

/**
 * <pre>
 * 支付宝支付接口
 * </pre>
 *
 * @author zhuming
 * @version 1.0.0
 * @since 2023-03-01 10:38
 */
public interface AlipayService {
    /**
     * 扫码支付下单
     * @param inVO {@link AlipayCreateQrcodeOrderInVO}
     * @return {@link AlipayCreateQrcodeOrderOutVO}
     */
    AlipayCreateQrcodeOrderOutVO createQrcodeOrder(AlipayCreateQrcodeOrderInVO inVO);

    /**
     * 查询订单
     * @param inVO {@link AlipayQueryOrderInVO}
     * @return {@link AlipayQueryOrderOutVO}
     */
    AlipayQueryOrderOutVO queryOrder(AlipayQueryOrderInVO inVO);

    /**
     * 订单退款
     * @param inVO {@link AlipayRefundOrderInVO}
     * @return {@link AlipayRefundOrderOutVO}
     */
    AlipayRefundOrderOutVO refundOrder(AlipayRefundOrderInVO inVO);
}
